package xaj.xc.ast;

import java.util.List;

import polyglot.ast.ClassMember;
import polyglot.ast.Import.Kind;
import polyglot.util.Position;
import xaj.scc.ast.ImportSyntax;
import xaj.scc.ast.ImportSyntax_c;
import xaj.scc.ast.OnWeaving;
import xaj.scc.ast.OnWeaving_c;
import xaj.scc.ast.SCDelFactory;
import xaj.scc.ast.SCExtFactory;
import xaj.scc.ast.SCNodeFactory_c;

public class XAJNodeFactory_c extends SCNodeFactory_c 
                                      implements XAJNodeFactory {
	
	public XAJNodeFactory_c() {
		this(new XAJAbstractExtFactory_c() {},
				new XAJAbstractDelFactory_c() {});
	}
	
	public XAJNodeFactory_c(XAJExtFactory extFactory) {
		this(extFactory, new XAJAbstractDelFactory_c() {});
	}
	
	public XAJNodeFactory_c(XAJExtFactory extFactory,
			XAJDelFactory delFactory) {
		super(extFactory, delFactory);
	}

	public ListNode ListNode(Position pos, List list) {
		ListNode listnode = new ListNode_c(pos, list);
		return listnode;
	}
	
/*
	protected ExtFactory extFactory() {
		return extFactory;
	}
	
	protected DelFactory delFactory() {
		return delFactory;
	}
*/	

}
